<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">抄表作業-新增電表<span id="PageBack" class="back">返回</span><a class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view294210" class="" style="padding: 5px; margin: 5px;">
                <div class="" style="padding: 5px;">
                    <strong><font face="微软雅黑, Microsoft YaHei">案場</font></strong>
                </div>
                <div class="" style="padding: 5px; margin: 5px;">
                    <h1 style="font-size: 32px; font-weight: bold; border-bottom: 2px solid rgb(204, 204, 204); padding: 0px 4px 0px 0px; text-align: center; margin: 0px 0px 20px;"><span style="color: rgb(51, 51, 51); text-align: center; background-color: rgb(245, 245, 245); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 20px;">{$anchangname}</span></h1>
                </div>
                <div class="" style="padding: 5px;">
                    <strong><span style="font-family:微软雅黑, Microsoft YaHei">新增電表</span></strong>
                </div>
                <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                    <div class="row-form clearfix ">
                        <div class="">
                            <div class="weui-cell">
                                <div class="weui-cell__hd   ">
                                    <label class="weui-label" for="398858">類型</label>
                                </div>
                                <div class="weui-cell__bd">
                                    <select name="sdtype_id" class="weui-input " data-load="1" data-ride="select" placeholder="请选择" id="398858">
                                        <option value="">请选择</option>
                                        {foreach name="sdtypelist" item="vo"}
                                        <option value="{$vo.id}" data-value="{$vo.id}" data-title="{$vo.name}">{$vo.name}</option>
                                        {/foreach}
                                    </select>
                                </div>
                            </div>

                            <input type="hidden" class="hide" name="anchang_id" value="{$anchang_id}" />
                            <div class="weui-cell">
                                <div class="weui-cell__hd">
                                    <label class="weui-label  " for="664733">名稱</label>
                                </div>
                                <div class="weui-cell__bd">
                                    <input type="text" placeholder="請輸入水電表名稱" value="" name="name" id="664733" class="weui-input  " />
                                </div>
                            </div>
                            <div class="weui-cell">
                                <div class="weui-cell__hd">
                                    <label class="weui-label  " for="166958">表號</label>
                                </div>
                                <div class="weui-cell__bd">
                                    <input type="text" placeholder="請輸入水電表表號" value="" name="biaohao" id="166958" class="weui-input  " />
                                </div>
                            </div>
                            <div class="weui-gallery" id="gallery643308">
                                <span class="weui-gallery__img" id="galleryImg643308"></span>
                                <div class="weui-gallery__opr">
                                    <a href="javascript:" class="weui-gallery__del"> <i class="weui-icon-delete weui-icon_gallery-delete"></i> </a>
                                </div>
                            </div>
                            <div class="weui-cells__title  ">
                                圖片
                            </div>
                            <div class="col-xs-12 col-sm-8">
                                <div class="input-group">
                                    <input id="c-images" class="form-control" size="500" name="images"  value="" type="hidden">
                                    <div class="input-group-addon no-border no-padding">
                                        <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    </div>
                                    <span class="msg-box n-right" for="c-images"></span>
                                </div>
                                <ul class="row list-inline plupload-preview" id="p-images"></ul>
                            </div>
                            <div class="weui-cells__title  ">
                                &nbsp;&nbsp;
                            </div>
                            <div class="weui-flex" style="">
                                <div id="flex_item5926300" class="weui-flex_item weui-flex_item5926300" style="flex-basis:auto;padding: 0px !important;width:100%;">
                                    <div class="weui-form">
                                        <div class="weui-form-item">
                                            <a href="javascript:;" onclick="javascript:history.back(-1);" class="weui-btn bg-gray  ">取消</a>
                                        </div>
                                    </div>
                                </div>
                                <div id="flex_item5926301" class="weui-flex_item weui-flex_item5926301" style="flex-basis:auto;padding: 0px !important;width:100%;">
                                    <div class="weui-form">
                                        <div class="weui-form-item">
                                            <button type="submit" class="weui-btn    weui-btn_primary  ">保存</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <input type="hidden" class="hide" name="dashboardId" value="23457" />
                    <input type="hidden" class="hide" name="formId" value="995661" />
                    <input type="hidden" class="hide" name="tableName" value="table_995661" />
                    <input type="hidden" class="hide" name="id" value="" />
                    <div id="errorsform995661" class="hide"></div>
                </form>
            </div>
            <div class="weui-tabbar .tabbar281124" id="tabbar281124" style="width: 100%;">
                <a href="{:url('home/index')}" page="index" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon1c.png" img="__CDN__/assets/images/icon1c.png" selectimg="__CDN__/assets/images/icon1.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">首頁</p> </a>
                <a href="{:url('home/cbzy')}" page="empty" class="weui-tabbar__item -page  weui-bar__item_on "> <img src="__CDN__/assets/images/icon2.png" img="__CDN__/assets/images/icon2c.png" selectimg="__CDN__/assets/images/icon2.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">抄表作業</p> </a>

                {if $isanchanguser}
                <a href="{:url('home/anchang').'?anchang_id='.$anchangid}" page="anchang" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {else}
                <a href="{:url('home/anchanglist')}" page="anchanglist" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon_purchase04.png" img="__CDN__/assets/images/icon_purchase04.png" selectimg="__CDN__/assets/images/icon_purchase04_pressed.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">案場</p> </a>
                {/if}
                <a href="{:url('user/profile')}" page="account" class="weui-tabbar__item "> <img src="__CDN__/assets/images/icon3c.png" img="__CDN__/assets/images/icon3c.png" selectimg="__CDN__/assets/images/icon3.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label281124">帳號</p> </a>
                <style type="text/css">
                    .tabbar281124 {}

                    .weui-tabbar__label281124 {
                        color: #999999 !important;
                    "

                    }

                    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label281124 {
                        color: #09bb07 !important;
                    }
                </style>
            </div>
        </div>
    </div>
</div>